package com.example.xueshen.common.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.conditions.segments.MergeSegments;
import lombok.Data;

@Data
public class Teacher  {
    @TableId(value = "teacher_id",type = IdType.AUTO)
    public Integer teacherId;
    private String teacherName;
    private Integer teacherAge;
    private Integer teacherGerder;
    private String education;

    public Teacher(Integer teacherId, String teacherName, Integer teacherAge, Integer teacherGerder, String education) {
        this.teacherId = teacherId;
        this.teacherName = teacherName;
        this.teacherAge = teacherAge;
        this.teacherGerder = teacherGerder;
        this.education = education;
    }

    public Teacher() {
    }
}
